package cn.itheima.service;

import cn.itheima.domain.Area;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import java.util.List;

/**
 * Created by millions on 2017/7/3.
 */
public interface AreaService {
    void batchSave(List<Area> areaList);

    Page<Area> queryByPage(Pageable pageable);

    Page<Area> queryPageDateBySpection(Specification<Area> specification, Pageable pageable);

    void deleteArea(List<Area> areaList);

    List<Area> findAll(List<String> ids);
}
